/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cpproject1;


public class MazeCell {

    MazeCellType type;
    /**
     * 
     */
    public Player player;
    volatile int x;
    volatile int y;

    /**
     * 
     * @param player
     * @param type
     * @param x
     * @param y
     */
    public MazeCell(Player player, MazeCellType type, int x, int y) {
        this.player = player;
        this.type = type;
        this.x = x;
        this.y = y;
    }

    /**
     * 
     */
    public MazeCell() {
        this.player = null;
        this.type = MazeCellType.Wall;
        this.x = -1;
        this.y = -1;
    }
}
